package cn.lg.soar.boot.fc.service;

import cn.lg.soar.common.model.HttpResult;
import cn.lg.soar.database.base.service.IBaseService;
import cn.lg.soar.boot.fc.entity.RoomFurniture;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * 房间配套分配表
 * @author BoBo
 * @since 2025-01-20
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface RoomFurnitureService extends IBaseService<RoomFurniture> {


    /**
     * 添加房间分配表
     */

    public HttpResult<Serializable> addRoomFurniture(RoomFurniture roomFurniture);

    //修改房间分配表

    public HttpResult<Serializable> updateRoomFurniture(RoomFurniture roomFurniture);

    //根据id查询当前数据
    public HttpResult<RoomFurniture> detail(Long id);

    //删除数据
    public HttpResult<Serializable> deleteRoomFurniture( List<Long> ids);

    /**
     * 拖拽排序
     */
    HttpResult<Serializable> updateSort(List<Map<String, BigInteger>> sortedData);

}
